package weiy.top.modules.coupon.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sms_coupon_history
 * @Author: weihancheng
 * @Date:   2021-12-16
 * @Version: V1.0
 */
@Data
@TableName("sms_coupon_history")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sms_coupon_history对象", description="sms_coupon_history")
public class SmsCouponHistory implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.Integer id;
	/**优惠券id*/
	@Excel(name = "优惠券id", width = 15)
    @ApiModelProperty(value = "优惠券id")
    private java.lang.Integer couponId;
	/**会员id*/
	@Excel(name = "会员id", width = 15)
    @ApiModelProperty(value = "会员id")
    private java.lang.Integer memberId;
	/**会员名字*/
	@Excel(name = "会员名字", width = 15)
    @ApiModelProperty(value = "会员名字")
    private java.lang.String memberNickName;
	/**获取方式[0->后台赠送；1->主动领取]*/
	@Excel(name = "获取方式[0->后台赠送；1->主动领取]", width = 15)
    @ApiModelProperty(value = "获取方式[0->后台赠送；1->主动领取]")
    private java.lang.Integer getType;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**使用状态[0->未使用；1->已使用；2->已过期]*/
	@Excel(name = "使用状态[0->未使用；1->已使用；2->已过期]", width = 15)
    @ApiModelProperty(value = "使用状态[0->未使用；1->已使用；2->已过期]")
    private java.lang.Integer useType;
	/**使用时间*/
	@Excel(name = "使用时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "使用时间")
    private java.util.Date useTime;
	/**订单id*/
	@Excel(name = "订单id", width = 15)
    @ApiModelProperty(value = "订单id")
    private java.lang.Integer orderId;
	/**订单号*/
	@Excel(name = "订单号", width = 15)
    @ApiModelProperty(value = "订单号")
    private java.lang.Integer orderSn;
}
